package com.wu.mapper;

import com.wu.pojo.Type;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface TypeMapper {

    public Type findById(long id);

    //3.查询菜品所属系列
    public List<Type> findTypes();
}
